package jia.core.items;

import jia.core.flags.RestrictionFlags;
import jia.core.flags.ArmorFlags;

/**
 * @author Erik Stell
 * @version 1.0
 *          Date: Sep 14, 2007
 */
public class Armor extends Item{
	private long id;
	private ArmorFlags armorType;
	private int acBonus;
	private int weight;
	private RestrictionFlags restrictedTo;


	//TODO:  Add fields for description, icons, magical properties, etc

	public long getId(){
		return id;
	}

	public void setId(long id){
		this.id = id;
	}

	public ArmorFlags getArmorType(){
		return armorType;
	}

	public void setArmorType(ArmorFlags armorType){
		this.armorType = armorType;
	}

	public int getAcBonus(){
		return acBonus;
	}

	public void setAcBonus(int acBonus){
		this.acBonus = acBonus;
	}

	public int getWeight(){
		return weight;
	}

	public void setWeight(int weight){
		this.weight = weight;
	}

	public RestrictionFlags getRestrictedTo(){
		return restrictedTo;
	}

	public void setRestrictedTo(RestrictionFlags restrictedTo){
		this.restrictedTo = restrictedTo;
	}
}
